import {NgModule} from '@angular/core';
import {RouterModule, Routes} from '@angular/router';
import {UserTemperatureComponent} from "./user-temperature.component";
import {PersonalTemperatureComponent} from "./personal-temperature/personal-temperature.component";

const routes: Routes = [
  {
    path: '', component: UserTemperatureComponent, data: {key: 'user-temperature', title: '用户体温管理', shouldDetach: 'no'}
  },
  {
    path: 'personal-temperature',
    component: PersonalTemperatureComponent,
    data: {title: '用户体温管理', key: 'personal-temperature'}
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class UserTemperatureRoutingModule {
}
